package cn.jbt.api.admin.repository;

import cn.jbt.api.admin.entity.SysDept;
import org.springframework.data.jpa.repository.JpaRepository;

public interface SysDeptRepository extends JpaRepository<SysDept, Long> {

    SysDept findFirstById(long id);

    SysDept findFirstByPid(long pid);

}
